package com.example.dubboproviderboot.provider;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 *
 * @author: mapengyong
 * @Date: 2021/1/21 10:37 上午
 * @Description:
 **/
@Controller
public class ProviderController {

    @Autowired
    private TestProvider testProvider;

    @RequestMapping("/testProvider")
    public void testProvider(){
        System.out.println("测试服务提供者");
        System.out.println(testProvider.testProvider());
    }
}
